KFbxNodeAttribute Class Reference

#include <kfbxnodeattribute.h>
Inheritance diagram for KFbxNodeAttribute:
Inheritance graph
[legend]

List of all members.


Detailed Description

This class is the base class to all types of node attributes.

A node attribute is the content of a node. A NULL node attribute is set by calling function KFbxNode::SetNodeAttribute() with a NULL pointer.

Definition at line 59 of file kfbxnodeattribute.h.


Public Types

enum   EAttributeType
  Node attribute types. More...

Public Member Functions

virtual EAttributeType  GetAttributeType () const
  Return the type of node attribute.
KFbxNode GetNode () const
  Return the node this attribute is set to.
virtual KFbxObject Clone (KFbxObject *pContainer, KFbxObject::ECloneType pCloneType) const
  Creates a clone of this object.

Public Attributes

KFbxTypedProperty< fbxDouble3 >  Color
  This property handles the color.

Static Public Attributes

static const char *  sColor
  Property Names.
static const fbxDouble3  sDefaultColor
  Property Default Values.

Member Enumeration Documentation

Node attribute types.

  • eUNIDENTIFIED
  • eNULL
  • eMARKER
  • eSKELETON
  • eMESH
  • eNURB
  • ePATCH
  • eCAMERA
  • eCAMERA_STEREO,
  • eCAMERA_SWITCHER
  • eLIGHT
  • eOPTICAL_REFERENCE
  • eOPTICAL_MARKER
  • eNURBS_CURVE
  • eTRIM_NURBS_SURFACE
  • eBOUNDARY
  • eNURBS_SURFACE
  • eSHAPE
  • eLODGROUP
  • eSUBDIV

Definition at line 104 of file kfbxnodeattribute.h.


Member Function Documentation

virtual EAttributeType GetAttributeType (  )  const [inline, virtual]

KFbxNode* GetNode (  )  const

Return the node this attribute is set to.

Returns:
Pointer to the node, or NULL if the current attribute is not set to a node.

virtual KFbxObject* Clone ( KFbxObject pContainer,
KFbxObject::ECloneType  pCloneType  
) const [virtual]

Creates a clone of this object.

Parameters:
pContainer  The object, typically a document or a scene, that contains the new clone(can be NULL).
pCloneType  The type of clone to be created.
Returns:
The new clone, or NULL (if the specified clone type is not supported).

Reimplemented from KFbxObject.

Reimplemented in KFbxGeometry, KFbxNurbsCurve, and KFbxProceduralGeometry.


Member Data Documentation

const char* sColor [static]

Property Names.

Reimplemented in KFbxLight.

Definition at line 65 of file kfbxnodeattribute.h.

const fbxDouble3 sDefaultColor [static]

Property Default Values.

Reimplemented in KFbxLight.

Definition at line 68 of file kfbxnodeattribute.h.

KFbxTypedProperty<fbxDouble3> Color

This property handles the color.

Default value is (0.8, 0.8, 0.8)

Reimplemented in KFbxLight.

Definition at line 80 of file kfbxnodeattribute.h.

KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute
KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute